package com.example.administrator.VO;

/**
 * Created by ykbboom on 2017/1/2.
 */

public class UserInfo {
    private int _id;
    private int body_num;
    private int money_num;
    private long sign_in_time;
    private String user_name;

    public UserInfo(int _id, int body_num, int money_num,long sign_in_time,String user_name) {
        this._id = _id;
        this.body_num = body_num;
        this.money_num = money_num;
        this.sign_in_time = sign_in_time;
        this.user_name = user_name;
    }

    public UserInfo(){
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public int getBody_num() {
        return body_num;
    }

    public void setBody_num(int body_num) {
        this.body_num = body_num;
    }

    public int getMoney_num() {
        return money_num;
    }

    public void setMoney_num(int money_num) {
        this.money_num = money_num;
    }

    public long getSign_in_time() {
        return sign_in_time;
    }

    public void setSign_in_time(long sign_in_time) {
        this.sign_in_time = sign_in_time;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public static UserInfo initializeUser(){
        UserInfo userInfo = new UserInfo(1,100,100,0,"菜鸡");//初始化id为1，体力数为100，金币数为100 签到时间 0
        return  userInfo;
    }
}
